[INFO] cloning repository https://github.com/mrktrnbll/rust-algorithms
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mrktrnbll/rust-algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrktrnbll%2Frust-algorithms", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrktrnbll%2Frust-algorithms'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7e032b57609447c793b09c0a5be0cbc08a989aac
[INFO] checking mrktrnbll/rust-algorithms against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrktrnbll%2Frust-algorithms" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mrktrnbll/rust-algorithms
[INFO] finished tweaking git repo https://github.com/mrktrnbll/rust-algorithms
[INFO] tweaked toml for git repo https://github.com/mrktrnbll/rust-algorithms written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mrktrnbll/rust-algorithms on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mrktrnbll/rust-algorithms already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ddb9658150374b1c97e0609d5ae44fe18f7c7c4af149f3bc9ffc9e24574cc41b
[INFO] running `Command { std: "docker" "start" "-a" "ddb9658150374b1c97e0609d5ae44fe18f7c7c4af149f3bc9ffc9e24574cc41b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ddb9658150374b1c97e0609d5ae44fe18f7c7c4af149f3bc9ffc9e24574cc41b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ddb9658150374b1c97e0609d5ae44fe18f7c7c4af149f3bc9ffc9e24574cc41b", kill_on_drop: false }`
[INFO] [stdout] ddb9658150374b1c97e0609d5ae44fe18f7c7c4af149f3bc9ffc9e24574cc41b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d0484cd65d25e33aaf892fbfc376916958047afc43f1cf16cbff381807f60a4c
[INFO] running `Command { std: "docker" "start" "-a" "d0484cd65d25e33aaf892fbfc376916958047afc43f1cf16cbff381807f60a4c", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-algs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::os::raw::c_void`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::os::raw::c_void;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/main.rs:59:25
[INFO] [stdout]    |
[INFO] [stdout] 59 |     quicksort(array, 0, (array.len() as i64));
[INFO] [stdout]    |                         ^                  ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 59 -     quicksort(array, 0, (array.len() as i64));
[INFO] [stdout] 59 +     quicksort(array, 0, array.len() as i64);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::raw::c_void`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::os::raw::c_void;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/main.rs:59:25
[INFO] [stdout]    |
[INFO] [stdout] 59 |     quicksort(array, 0, (array.len() as i64));
[INFO] [stdout]    |                         ^                  ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 59 -     quicksort(array, 0, (array.len() as i64));
[INFO] [stdout] 59 +     quicksort(array, 0, array.len() as i64);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `[i64]` is not an iterator
[INFO] [stdout]   --> src/main.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |     for j in vec[..=high as usize] {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ the trait `IntoIterator` is not implemented for `[i64]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the trait bound `[i64]: IntoIterator` is not satisfied
[INFO] [stdout]    = note: required for `[i64]` to implement `IntoIterator`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 26 |     for j in &vec[..=high as usize] {
[INFO] [stdout]    |              +
[INFO] [stdout] 26 |     for j in &mut vec[..=high as usize] {
[INFO] [stdout]    |              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `vec` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/main.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn swap(vec: Vec<i64>, i:i64, j:i64) {
[INFO] [stdout]    |         ^^^ not mutable
[INFO] [stdout] 38 |     let temp:i64 = vec[i as usize];
[INFO] [stdout] 39 |     vec[i as usize] = vec[j as usize];
[INFO] [stdout]    |     --- cannot borrow as mutable
[INFO] [stdout] 40 |     vec[j as usize] = temp;
[INFO] [stdout]    |     --- cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn swap(mut vec: Vec<i64>, i:i64, j:i64) {
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `vec`
[INFO] [stdout]   --> src/main.rs:47:19
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn quicksort(vec: Vec<i64>, low: i64, high: i64) {
[INFO] [stdout]    |              --- move occurs because `vec` has type `Vec<i64>`, which does not implement the `Copy` trait
[INFO] [stdout] 44 |     if low < high {
[INFO] [stdout] 45 |         let partition:i64 = partition(vec, low, high);
[INFO] [stdout]    |                                       --- value moved here
[INFO] [stdout] 46 |
[INFO] [stdout] 47 |         quicksort(vec, low, partition-1);
[INFO] [stdout]    |                   ^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `partition` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/main.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn partition(vec: Vec<i64>, low: i64, high:i64) -> i64 {
[INFO] [stdout]    |    ---------      ^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let partition:i64 = partition(vec.clone(), low, high);
[INFO] [stdout]    |                                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `vec`
[INFO] [stdout]   --> src/main.rs:48:19
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn quicksort(vec: Vec<i64>, low: i64, high: i64) {
[INFO] [stdout]    |              --- move occurs because `vec` has type `Vec<i64>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 47 |         quicksort(vec, low, partition-1);
[INFO] [stdout]    |                   --- value moved here
[INFO] [stdout] 48 |         quicksort(vec, partition+1, high);
[INFO] [stdout]    |                   ^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `quicksort` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/main.rs:43:19
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn quicksort(vec: Vec<i64>, low: i64, high: i64) {
[INFO] [stdout]    |    ---------      ^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 47 |         quicksort(vec.clone(), low, partition-1);
[INFO] [stdout]    |                      ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let mut array:Vec<i64> = string_to_array(string);
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `array`
[INFO] [stdout]   --> src/main.rs:59:26
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let mut array:Vec<i64> = string_to_array(string);
[INFO] [stdout]    |         --------- move occurs because `array` has type `Vec<i64>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 59 |     quicksort(array, 0, (array.len() as i64));
[INFO] [stdout]    |               -----      ^^^^^ value borrowed here after move
[INFO] [stdout]    |               |
[INFO] [stdout]    |               value moved here
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `quicksort` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/main.rs:43:19
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn quicksort(vec: Vec<i64>, low: i64, high: i64) {
[INFO] [stdout]    |    ---------      ^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 59 |     quicksort(array.clone(), 0, (array.len() as i64));
[INFO] [stdout]    |                    ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0382, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-algs` (bin "rust-algs" test) due to 5 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: `[i64]` is not an iterator
[INFO] [stdout]   --> src/main.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |     for j in vec[..=high as usize] {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ the trait `IntoIterator` is not implemented for `[i64]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the trait bound `[i64]: IntoIterator` is not satisfied
[INFO] [stdout]    = note: required for `[i64]` to implement `IntoIterator`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 26 |     for j in &vec[..=high as usize] {
[INFO] [stdout]    |              +
[INFO] [stdout] 26 |     for j in &mut vec[..=high as usize] {
[INFO] [stdout]    |              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `vec` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/main.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn swap(vec: Vec<i64>, i:i64, j:i64) {
[INFO] [stdout]    |         ^^^ not mutable
[INFO] [stdout] 38 |     let temp:i64 = vec[i as usize];
[INFO] [stdout] 39 |     vec[i as usize] = vec[j as usize];
[INFO] [stdout]    |     --- cannot borrow as mutable
[INFO] [stdout] 40 |     vec[j as usize] = temp;
[INFO] [stdout]    |     --- cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn swap(mut vec: Vec<i64>, i:i64, j:i64) {
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `vec`
[INFO] [stdout]   --> src/main.rs:47:19
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn quicksort(vec: Vec<i64>, low: i64, high: i64) {
[INFO] [stdout]    |              --- move occurs because `vec` has type `Vec<i64>`, which does not implement the `Copy` trait
[INFO] [stdout] 44 |     if low < high {
[INFO] [stdout] 45 |         let partition:i64 = partition(vec, low, high);
[INFO] [stdout]    |                                       --- value moved here
[INFO] [stdout] 46 |
[INFO] [stdout] 47 |         quicksort(vec, low, partition-1);
[INFO] [stdout]    |                   ^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `partition` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/main.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn partition(vec: Vec<i64>, low: i64, high:i64) -> i64 {
[INFO] [stdout]    |    ---------      ^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let partition:i64 = partition(vec.clone(), low, high);
[INFO] [stdout]    |                                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `vec`
[INFO] [stdout]   --> src/main.rs:48:19
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn quicksort(vec: Vec<i64>, low: i64, high: i64) {
[INFO] [stdout]    |              --- move occurs because `vec` has type `Vec<i64>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 47 |         quicksort(vec, low, partition-1);
[INFO] [stdout]    |                   --- value moved here
[INFO] [stdout] 48 |         quicksort(vec, partition+1, high);
[INFO] [stdout]    |                   ^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `quicksort` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/main.rs:43:19
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn quicksort(vec: Vec<i64>, low: i64, high: i64) {
[INFO] [stdout]    |    ---------      ^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 47 |         quicksort(vec.clone(), low, partition-1);
[INFO] [stdout]    |                      ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let mut array:Vec<i64> = string_to_array(string);
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `array`
[INFO] [stdout]   --> src/main.rs:59:26
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let mut array:Vec<i64> = string_to_array(string);
[INFO] [stdout]    |         --------- move occurs because `array` has type `Vec<i64>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 59 |     quicksort(array, 0, (array.len() as i64));
[INFO] [stdout]    |               -----      ^^^^^ value borrowed here after move
[INFO] [stdout]    |               |
[INFO] [stdout]    |               value moved here
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `quicksort` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/main.rs:43:19
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn quicksort(vec: Vec<i64>, low: i64, high: i64) {
[INFO] [stdout]    |    ---------      ^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 59 |     quicksort(array.clone(), 0, (array.len() as i64));
[INFO] [stdout]    |                    ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0382, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-algs` (bin "rust-algs") due to 5 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d0484cd65d25e33aaf892fbfc376916958047afc43f1cf16cbff381807f60a4c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0484cd65d25e33aaf892fbfc376916958047afc43f1cf16cbff381807f60a4c", kill_on_drop: false }`
[INFO] [stdout] d0484cd65d25e33aaf892fbfc376916958047afc43f1cf16cbff381807f60a4c
